﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EntityFrameworks.Entity.Core;
using IRepository.Core;

namespace Common.Background.BLL
{
    public class MenuManager : BLLBase
    {
        public MenuManager(IUnitOfWork iUnitOfWork)
            : base(iUnitOfWork)
        { }
        public MenuManager()
            : this(null)
        { }

        public List<WebManageMenus> GetMenus()
        {
            return LoadRepository<WebManageMenus>().GetModel().ToList();
        }
    }
}